import { JSX } from "react";
import { FilePlugin } from "../types";

export const TextPlugin: FilePlugin = {
  name: "text-plugin",
  fileTypes: [".go", ".txt", ".md"],
  render: function(fileName: string): JSX.Element {
    return <div>
      <h2>{fileName}</h2>
      <p>This is a text plugin.</p>
    </div>;
  }
}
